package com.itheima.day03.neibulei;

public class Miminglei {
    public static void main(String[] args) {

        go( new Swim(){
            @Override
            public void swim() {
                System.out.println("youdefeikuai~");
            }
        });
    }
    public static void go(Swim s) {
        System.out.println("start");
        s.swim();
    }
}

interface Swim{
    void swim();
}
